package model

func (Send) TableName() string {
	return "send"
}

type Send struct {
	Model
	UserId     string `gorm:"size:40;not null;default:''"`
	Receiver   string `gorm:"size:40;not null;default:''"` // receiver's email
	EmailTplId string `gorm:"size:40;not null;default:''"`
	Content    string `gorm:"type:text;not null;default:''"`
	Status     int8   `gorm:"not null;default:2"` // default 2: success 3: failed
}
